package com.heima.xxljob.web;

import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

import java.time.LocalTime;

/**
 * @author shitou
 * @className HelloJob
 * @description: TODO
 */
@Component
public class HelloJob {
    @XxlJob("job-handle")
    public void helloJob() {
        System.out.println("简单任务执行了。。。。" + LocalTime.now());

    }
}
